package com.mengxuegu.springboot.mapper;

import com.mengxuegu.springboot.entities.BankAdmin;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BankAdminMapper {
    int countByExample(BankAdmin example);

    int deleteByExample(BankAdmin example);

    int deleteByPrimaryKey(Integer id);

    int insert(BankAdmin record);

    int insertSelective(BankAdmin record);

    List<BankAdmin> selectByExample(BankAdmin example);

    BankAdmin selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") BankAdmin record, @Param("example") BankAdmin example);

    int updateByExample(@Param("record") BankAdmin record, @Param("example") BankAdmin example);

    int updateByPrimaryKeySelective(BankAdmin record);

    int updateByPrimaryKey(BankAdmin record);
}